package com.song.tools.songtest.beans.request;

import com.song.tools.mvc.request.SuperQueryRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p>
 * 操作日志表查询请求体
 * </p>
 *
 * @author song tools
 * @since 2024-07-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(title = "OperateLogQueryRequest", description = "操作日志表查询请求体")
public class OperateLogQueryRequest extends SuperQueryRequest {

    @Serial
    private static final long serialVersionUID = -1;

    /**
     * 主键
     */
    @Schema(title = "id", description = "主键")
    private Long id;
    /**
     * 日志唯一值
     */
    @Schema(title = "logId", description = "日志唯一值")
    private Long logId;
    /**
     * 查询值，例如：订单号
     */
    @Schema(title = "queryId", description = "查询值，例如：订单号")
    private String queryId;
    /**
     * 模块
     */
    @Schema(title = "module", description = "模块")
    private String module;
    /**
     * 操作类型
     */
    @Schema(title = "logType", description = "操作类型")
    private String logType;
    /**
     * 日志内容
     */
    @Schema(title = "context", description = "日志内容")
    private String context;
    /**
     * 附录
     */
    @Schema(title = "ext", description = "附录")
    private String ext;
    /**
     * 修改人手机号
     */
    @Schema(title = "userPhone", description = "修改人手机号")
    private String userPhone;
    /**
     * 创建人
     */
    @Schema(title = "createUser", description = "创建人")
    private String createUser;
    /**
     * 创建人id
     */
    @Schema(title = "createUserId", description = "创建人id")
    private String createUserId;
    /**
     * 创建时间-起始
     */
    @Schema(title = "createTimeStart", description = "创建时间-起始")
    private LocalDateTime createTimeStart;
    /**
     * 创建时间-截止
     */
    @Schema(title = "createTimeEnd", description = "创建时间-截止")
    private LocalDateTime createTimeEnd;
}
